import React from 'react';
import { Card, Typography } from 'antd';

const { Title, Paragraph } = Typography;

const UEditorPage: React.FC = () => {

  return (
    <div style={{ padding: '24px' }}>
      <Card>
        <Title level={2}>UEditor 富文本编辑器</Title>
        <Paragraph>
          UEditor 是百度开发的富文本编辑器，官方已经不维护了，gg
        </Paragraph>
        
        <div style={{ marginTop: '20px' }}>
          <iframe
            src="/ueditor/test.html"
            style={{
              width: '100%',
              height: '600px',
              border: '1px solid #d9d9d9',
              borderRadius: '6px'
            }}
            title="UEditor 富文本编辑器"
          />
        </div>
      </Card>
    </div>
  );
};

export default UEditorPage;